Skip to content

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

protected abstract ValueTask OnCompletedAsyncCore(ImmutableArray<IObserverAsync<T>> observers, Result result)

Summary: Invoked to asynchronously notify all observers of the completion event with the specified result.

Parameters

NameTypeDescription
observersImmutableArray>A read-only list of observers to be notified of the completion event. Cannot be null.
result[Result](#The result to provide to each observer upon completion.

Returns: ValueTask -- A ValueTask that represents the asynchronous notification operation.

Remarks

Implementations should ensure that all observers are notified according to the completion semantics of the operation. Exceptions thrown during notification may affect the completion of the returned task.